package com.principle.lkp;

import java.util.List;

/**
 * @author yangguanzan
 * @date 3/10/22
 * @description
 */
public class GroupLeadr {

    private List<Girl> girlList;

    public void setGirlList(List<Girl> girlList) {
        this.girlList = girlList;
    }


    public void countGirl() {

        System.out.println("女生的数量是："
            + (null!=this.girlList ? this.girlList.size() : 0));
    }
}
